// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
//整个项目的入口文件
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './Store'
//swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
//重置页面样式
import './assets/styles/reset.css'
import './assets/styles/border.css' //解决一个像素边框的问题
import './assets/styles/iconfont.css' //图标库
//
import 'swiper/dist/css/swiper.css' //引入swiper样式

import fastClick from 'fastclick'
fastClick.attach(document.body);//使用fastClick

//使用swiper
Vue.use(VueAwesomeSwiper);

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },//注册组件
  template: '<App/>'
})
